import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/common.css'
import Api from './api/request'
import lodash from '@/utils/lodash'

import VueAMap from 'vue-amap'
// import Blob from './excel/Blob'
// import Export2Excel from './excel/Export2Excel'
Vue.use(VueAMap)
// 初始化vue-amap
VueAMap.initAMapApiLoader({
  key: '6ab6a5e43ed74b5d24a6a89fde70a1c9',
  plugin: ['AMap.Map','AMap.Marker','AMap.Geolocation','AMap.CitySearch','AMap.Geocoder']
});
 
// , { size: 'small' }
Vue.use(lodash)
Vue.use(ElementUI)
Vue.prototype.$api = Api
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
